package com.awen.pojo;
import org.dom4j.DocumentException;
import java.beans.PropertyVetoException;
import java.util.List;
public interface IUserDao {
    //查询所有的用户
    public List<User> findAll() throws PropertyVetoException, DocumentException;
    //根据条件进行用户查询
    public User findByCondititon(User user) throws PropertyVetoException, DocumentException;
    //根据条件进行用户修改
    public Integer updateOne(User user);
    //根据条件删除
    public Integer deleteOne(User user);
    //添加
    public Integer insertOne(User user);
}
